<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it">
<head>

	<title><$temp_title$> - Admin</title>

	<!-- FAVICON -->
	<link rel="shortcut icon" type="image/x-icon" href="favicon.ico"/>

	<!-- STYLE -->
	<link rel="stylesheet" href="../style/imports.css" type="text/css" />

</head>
<body>

<div>
<div class="box_title"><h1>Strumenti di Amministrazione Oggetti</h1></div>
	<a href="admin.php" target="main">Indietro</a><br />
	<$temp_msgbox$>
	<h2>Modifica Oggetti:</h2>
	Seleziona l'oggetto da modificare:
	<form action="A_items-edit.php" method="post">
		<label for="itemname">Oggetto:</label> <select name="itemname" id="itemname">
		<$temp_options$>
		</select>
		<button>Seleziona</button>
	</form>
	<hr />
	<form action="A_items.php" method="post">
		<h2>Nuovo Oggetto</h2>
		<label for="name">Nome Oggetto</label> <input type="text" name="name" id="name" value=""/>
		<br /><br />
		
		<label for="description">Descrizione Oggetto</label><br /> <textarea name="description" id="description" cols="30" rows="5" value=""></textarea><br />
		<br /><br />
		
		<label for="value">Valore dell'Oggetto</label>
		<select name="value">
		<option value="0">Comune</option>
		<option value="1">Non comune</option>
		<option value="2">Raro</option>
		<option value="3">Unico</option>
		</select>
		<br /><br />
		
		<button type="submit">Inserisci</button><br />
	</form>
	<h2>Rimozione Oggetti:</h2>
	<form action="A_items.php" method="post">
		<label for="delete">Cancellazione Oggetto</label> <input type="text" name="delete" id="delete" value=""/>
		<small>Inserire l'id dell'Oggetto da eliminare</small><br /><br />
		<button type="submit">Rimuovi</button><br /><br />
	</form>
</div>

</body>
</html>